]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
NetworkStatus: fix vpn indicator
authorRay Strode <rstrode@redhat.com>
Fri, 25 Mar 2011 13:49:15 +0000 (09:49 -0400)
committerRay Strode <rstrode@redhat.com>
Sat, 26 Mar 2011 00:37:29 +0000 (20:37 -0400)
It looks like a part of the code wasn't updated to reflect
a variable name change.

js/ui/status/network.js

index 6b00e491c12a4d56d4e666b234bd3acba67a045b..4183877a1f02cc795dfbbac4e6e6586f52f30207 100644 (file)
@@ -1813,7 +1813,7 @@ NMApplet.prototype = {
                         }
                     }
                 } else
-                    a._primaryDevice = this._vpnDevice;
+                    a._primaryDevice = this._devices.vpn.device
 
                 if (a._primaryDevice)
                     a._primaryDevice.setActiveConnection(a);